/* stylelint-disable no-descending-specificity */
/* stylelint-disable font-family-no-missing-generic-family-keyword */
/* stylelint-disable selector-class-pattern */
* {
  box-sizing: border-box;
}

.pvtUi {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.pvtUi-header {
  display: flex;
}

.pvtUi-header .pvtUnused {
  flex: auto;
  border: none;
  border-top: 1px solid var(--ibiz-color-border);
  border-right: 1px solid var(--ibiz-color-border);;
}

.pvtUi-content {
  display: flex;
  flex: auto;
}

.pvtUi-toolbar {
  display: flex;
}

.pvtUi-toolbar .pvtVals {
  flex: none;
  width: 25%;
  max-width: 250px;
  border: none;
  border-right: 1px solid var(--ibiz-color-border);
  border-left: 1px solid var(--ibiz-color-border);
}

.pvtUi-toolbar .pvtCols {
  flex: auto;
  border-left: none;
}

.pvtUi-content .pvtRows {
  flex: none;
  width: 25%;
  max-width: 250px;
  height: 100%;
}

.pvtUi-content .pvtOutput {
  flex: auto;
  height: 100%;
  padding: 20px;
  overflow: auto;
  border-right: 1px solid var(--ibiz-color-border);
  border-bottom: 1px solid var(--ibiz-color-border);
}

.pvtUi-content .pvtOutput table {
  width: 100%;
}

.pvtUi-header {
  min-height: 60px;
}

table.pvtTable {
  font-family: Verdana;
  font-size: 8pt;
  text-align: left;
  border-collapse: collapse;
}

table.pvtTable thead tr th,
table.pvtTable tbody tr th {
  padding: 5px;
  font-size: 8pt;
  background-color: var(--ibiz-color-fill-0);
  border: 1px solid var(--ibiz-color-border);
}

table.pvtTable .pvtColLabel {
  text-align: center;
}

table.pvtTable .pvtTotalLabel {
  text-align: right;
}

table.pvtTable tbody tr td {
  padding: 3px;
  color: var(--ibiz-color-text-2);
  text-align: right;
  vertical-align: top;
  background-color: var(--ibiz-color-bg-1);
  border: 1px solid var(--ibiz-color-border);
}

.pvtTotal,
.pvtGrandTotal {
  font-weight: bold;
}

.pvtRowOrder,
.pvtColOrder {
  display: inline-block;
  width: 15px;
  margin-left: 5px;
  text-decoration: none !important;
  cursor: pointer;
  user-select: none;
}

.pvtAxisContainer,
.pvtVals {
  min-width: 20px;
  min-height: 20px;
  padding: 12px;
  background: var(--ibiz-color-bg-1);
  border: 1px solid var(--ibiz-color-border);
}

.pvtVals.pvtText {
  padding-left: 16px;
  font-size: 15px;
  font-weight: bold;
  color: #000;
  text-align: start;
  vertical-align: middle;
  user-select: none;
}

.pvtDropdown {
  width: 100%;
}

.pvtVals-tools {
  display: flex;
}

.pvtRenderers {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 25%;
  max-width: 250px;
  user-select: none;
  border: 1px solid var(--ibiz-color-border);
}

@media screen and (width <= 576px) {
  .pvtRenderers {
    width: 100%;
  }

  .pvtAxisContainer {
    display: none;
  }
}

@media screen and (width <= 768px) {
  .pvtRenderers {
    width: 40%;
  }
}

.pvtRenderers .pvtDropdown {
  width: 100%;
  padding: 0 12px;
  margin: 0;
  border: none;
}

.pvtAxisContainer li {
  padding: 8px 6px;
  list-style-type: none;
  cursor: move;
}

.pvtAxisContainer li.pvtPlaceholder {
  /* padding: 3px 15px; */
  padding: 8px 6px;
  border-radius: 5px;
}

/* .pvtAxisContainer li.pvtPlaceholder span.pvtAttr {
  display: none;
} */
.pvtAxisContainer li span.pvtAttr {
  padding: 4px 7px;
  white-space: nowrap;
  user-select: none;
  background: var(--ibiz-color-primary-light-default);
  border: 2px dashed var(--ibiz-color-border);
  border-radius: 5px;
  text-size-adjust: 100%;
}

.pvtAxisContainer li span.pvtAttr.restricted {
  border: 1px solid var(--ibiz-color-border);
}

.pvtTriangle {
  cursor: pointer;
}

.pvtHorizList li {
  display: inline-block;
}

.pvtVertList {
  vertical-align: top;
}

.pvtFilteredAttribute {
  font-style: italic;
}

/* .sortable-chosen .pvtFilterBox {
  display: none !important;
} */

.pvtFilterTextClear {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 18px;
  text-decoration: none !important;
  cursor: pointer;
}

.pvtButton {
  display: inline-block;
  padding: 3px 6px;
  margin: 3px 3px 6px 0;
  font-size: 14px;
  color: var(--ibiz-color-text-0);
  text-decoration: none !important;
  background: var(--ibiz-color-bg-1);
  border: 1px solid var(--ibiz-color-border);
  border-radius: 5px;
  transition: 0.34s all cubic-bezier(0.19, 1, 0.22, 1);
}

.pvtButton:hover {
  color: var(--ibiz-color-primary-hover-text);
  background: var(--ibiz-color-primary-hover);
}

.pvtButton:active {
  color: var(--ibiz-color-primary-active-text);
  background: var(--ibiz-color-primary-active);
}

.pvtFilterBox input {
  padding: 0 3px;
  font-size: 14px;
  color: var(--ibiz-color-text-0);
  border: 1px solid var(--ibiz-color-border);
  border-radius: 5px;
}

.pvtFilterBox input:focus {
  border-color: var(--ibiz-color-primary);
  outline: none;
}

.pvtFilterBox {
  position: absolute;
  z-index: 100;
  min-width: 210px;
  max-width: 600px;
  min-height: 100px;
  padding: 6px;
  user-select: none;
  background-color: var(--ibiz-color-bg-1);
  border: 1px solid var(--ibiz-color-border);
}

.pvtFilterBox input[type='text'] {
  display: block;
  width: 100%;
  padding: 6px;
  margin-bottom: 5px;
  color: var(--ibiz-color-text-2);
}

.pvtFilterBox {
  padding: 3px;
}

.pvtCheckContainer {
  width: 100%;
  max-height: 30vh;
  overflow-y: scroll;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
  border-top: 1px solid var(--ibiz-color-border);
}

.pvtCheckContainer p {
  padding: 3px;
  margin: 0;
  margin-bottom: 1px;
  cursor: default;
}

.pvtCheckContainer p.selected {
  width: max-content;
  min-width: 100%;
  background: var(--ibiz-color-bg-2);
}

.pvtOnly {
  display: none;
  float: right;
  width: 50px;
  padding-left: 5px;
  font-size: 12px;
  line-height: 32px;
  cursor: pointer;
}

.pvtOnlySpacer {
  display: block;
  float: right;
  width: 35px;
}

.pvtCheckContainer p:hover .pvtOnly {
  display: block;
}

.pvtCheckContainer p:hover .pvtOnlySpacer {
  display: none;
}

.pvtRendererArea {
  padding: 5px;
}


